package org.example.booklist.model;

import  lombok.Data;
import  lombok.AllArgsConstructor;
import  lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
// PageResult<BookInfo>(bookInfos, count,pageRequest);
public class PageResult<T> {

    private List<T> records;
    private Integer count;

    private PageRequest pageRequest;

}
